package com.jic.purchase.model.vo.request;

import com.jic.common.base.vo.AdminOperate;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 供应商范围商品
 * @author : 
 * @email : 
 * @since : 2020-09-20 06:58:04
 * @version : v1.0.0
 */
@Data
@NoArgsConstructor
@ApiModel(description = " 供应商范围管理实体类")
public class SupplierRangeProductRequest extends BaseEntityRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "id")
    private Long id;

    @ApiModelProperty(notes = "供应商范围id")
    private Long rangeId;

    @ApiModelProperty(notes = "供应商id")
    private Long supplierId;

    @ApiModelProperty(notes = "商品id")
    private Long productId;

    @ApiModelProperty(notes = "商品编码")
    private String productCode;

    @ApiModelProperty(notes = "商品名称")
    private String productName;

    @ApiModelProperty(notes = "成本价")
    private BigDecimal costPrice;

    @ApiModelProperty(notes = "类目编码")
    private String categoryCode;

    @ApiModelProperty(notes = "类目表外键")
    private Long categoryId;

    @ApiModelProperty(notes = "供应商范围编码")
    private String rangeCode;

    @ApiModelProperty(notes = "供应范围名称")
    private String rangeName;

    @ApiModelProperty(notes = "0不删除， 1删除")
    private Integer deleteFlag;

    @ApiModelProperty(notes = "供应商范围状态 0待审核， 1审核通过，2审核拒绝")
    private Integer status;

    private AdminOperate adminOperate;

}